package org.dromara.quickswing;

import org.dromara.quickswing.constant.QSOs;

import javax.swing.*;
import java.awt.*;
import java.util.ResourceBundle;

/**
 * @author Jin
 */
public interface QSApplication {
    void doExit();

    void displayException(Throwable t);

    void displayException(String title, Throwable t);

    void displayMessage(String title, String message);

    JDialog getAboutDialog();

    JMenuBar getJMenuBar();

    String getLanguage();

    Point getLocation();

    String getTheme();

    Dimension getSize();

    QSOs getOS();

    ResourceBundle getResourceBundle();
}
